package org.opens.service;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

/**
 * webservice服务端接口
 *
 * @author by zhangyuming
 * @date 2022/8/18
 */
@WebService(
        // 暴露服务名称
        name = "TestService",
        // 命名空间,一般是接口的包名倒序
        targetNamespace = "http://service.opens.org"
)
public interface TestService {

    @WebMethod
    public String sendMessage(@WebParam(name = "username") String username);

    @WebMethod
    public boolean getFlag(@WebParam(name = "username") String username);

}
